﻿<Window x:Class="AirlinePilotAcademy_WPF.MainWidow_AdminMenu"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Administrador" Opacity="0.8" MinHeight="600" Width="900" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" Icon="Images/kuser.png">
    <Window.Background>
        <ImageBrush ImageSource="Images/Background.png"/>
    </Window.Background>
    <Grid>
        <Grid Margin="0,-1,0,0" Name="MainMenu" Height="40" VerticalAlignment="Top">
            <Menu Background="#FF87B42C" FontSize="18" Foreground="White" Margin="0,0,368,0">
                
                
                <MenuItem Name="Subject" Height="40" Foreground="White">
                    <MenuItem.Header>
                        <TextBlock Text="Materias" Foreground="White" VerticalAlignment="Center" />
                    </MenuItem.Header>
                    <MenuItem Header="Crear Materia" Foreground="Black" Click="Click_NewSubject"/>                        
                    <MenuItem Header="Buscar Materia" Foreground="Black" Click="Click_SearchSubject"/>
                    <MenuItem Header="Ver materias disponibles mes" Foreground="Black" Click="Click_SearchSubjectMonth"/>
                </MenuItem>
                <MenuItem Name="Students" Height="40" Foreground="White">
                    <MenuItem.Header>
                        <TextBlock Text="Estudiantes" Foreground="White" VerticalAlignment="Center" />
                    </MenuItem.Header>
                    <MenuItem Header="Gestionar Nuevo Estudiante" Foreground="Black" >
                            <MenuItem Header="Añadir Nuevo Estudiante" Foreground="Black" Click="Click_NewStudent" Background="#FF87B42C" />
                            <MenuItem Header="Buscar Estudiantes" Foreground="Black" Click="Click_SearchStudents" Background="#FF87B42C" />
                    </MenuItem>
                    <MenuItem Header="Gestionar Inscripcion" Foreground="Black">
                        <MenuItem Header="Nueva Inscripcion" Foreground="Black" Background="#FF87B42C" BorderBrush="{DynamicResource SolidBorderBrush}" Click="Click_SearchStudentByID" />
                        <MenuItem Header="Buscar Inscripcion" Foreground="Black" Background="#FF87B42C" BorderBrush="{DynamicResource SolidBorderBrush}" Click="Click_SearchInscription" />
                    </MenuItem>
                </MenuItem>

                <MenuItem Name="SubjectTeacher" Height="40" Foreground="White">
                    <MenuItem.Header>
                        <TextBlock Text="Gestionar Materia Docente" Foreground="White" VerticalAlignment="Center" />
                    </MenuItem.Header>
                    <MenuItem Header="Asignar materia docente" Foreground="Black" Click="Click_AsignSubjectToTeacher"/>
                    <MenuItem Header="Buscar materia docente" Foreground="Black" Click="Click_SearchSubjectToTeacher"/>
                </MenuItem>

                <MenuItem Name="Aula" Height="40" Foreground="White">
                    <MenuItem.Header>
                        <TextBlock Text="Aulas" Foreground="White" VerticalAlignment="Center" />
                    </MenuItem.Header>
                    <MenuItem Header="Crear aula" Foreground="Black" Click="Click_NewClassroom" />
                    <MenuItem Header="Buscar aula" Foreground="Black" Click="Click_SearchClassroom"/>
                </MenuItem>

            </Menu>
        </Grid>
        <Image HorizontalAlignment="Left" Height="411" Margin="525,74,0,0" VerticalAlignment="Top" Width="357" Source="Images/newAPA.jpg"/>
        <TextBlock HorizontalAlignment="Left" Margin="119,216,0,0" TextWrapping="Wrap" Text="Bienvenido, Seleccione una opcion del Menu !!" VerticalAlignment="Top" Height="130" Width="358" FontFamily="Lucida Handwriting" FontSize="28" Foreground="Silver"/>

    </Grid>
</Window>
